
.ol-box {
    box-sizing: border-box;
    border-radius: 2px;
    border: 2px solid blue;
  }

  .ol-mouse-position {
    top: 8px;
    right: 8px;
    position: absolute;
  }


  .ol-overlay-container {
    will-change: left,right,top,bottom;
  }

  .ol-unsupported {
    display: none;
  }
  .ol-viewport, .ol-unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
  }
  .ol-selectable {
    -webkit-touch-callout: default;
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
  }
  .ol-grabbing {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
  }
  .ol-grab {
    cursor: move;
    cursor: -webkit-grab;
    cursor: -moz-grab;
    cursor: grab;
  }
  .ol-control {
    position: absolute;
    background-color: rgba(255,255,255, 0.8);
    border-radius: 4px;
  }

  .ol-control button {
    display: block;
    padding: 0;
    color: #7c8196;
    font-size: 1.14em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    height: 1.375em;
    width: 1.375em;
    line-height: 1.375em;
    background-color: rgba(255, 255, 255, 1);
    border: none;
    border-radius: 2px;
  }

  .ol-control button::-moz-focus-inner {
    border: none;
    padding: 0;
  }

  .ol-control:hover {
    background-color: rgba(255,255,255,0.6);
  }
  .ol-rotate {
    top: .5em;
    right: .5em;
    transition: opacity .25s linear, visibility 0s linear;
  }
  .ol-rotate.ol-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s linear, visibility 0s linear .25s;
  }
  .ol-zoom-extent {
    top: 4.643em;
    left: .5em;
  }

  .ol-overlaycontainer-stopevent .gmap-control-zoom {
    right: 1.85em;
  }
  @media print {
    .ol-control {
      display: none;
    }
  }
  
/*清除勾画轨迹的"X"样式*/
.ol-popup-black-drawclose {
  position: absolute;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 10px;
  height: 44px;
  width: 80px;
  bottom: -15px;
  left: 3px;
} 

.ol-popup-black-drawclose-content {
  position: absolute;
  height: 20px;
  width: 20px;
  color: #ffffff;
  background-color: black;
  /* border-radius: 10px; */
  text-align: center;
  line-height: 35px;
}
.ol-popup-black-drawclose-triangle {
  height: 14px;
  width: 14px;
  /* border: 7px solid transparent; */
  border-top-color: #000000;
  position: absolute;
  top: 35px;
  left: 30px;
}  
.ol-popup-black-drawclose-closer {
      text-decoration: none;
      position: absolute;
      top: 2px;
      left: 4px;
      z-index:100;
      color: #337ab7;
      font-size: 15px;
} 
.ol-popup-black-drawclose-closer:after {  
      content: "✖";  
}


.contextmenu{
  position: absolute;
  top: 100%;
  width: 120px;
  height:auto;
  z-index: 9;
  background-color: #ffffff;
}
.contextmenu ul{
  width: 100%;
  padding: 6px 2px 0 2px;
  list-style: none;
}
.contextmenu > ul > li{
  width: 100%;
  text-align: center;
  padding: 5px 0;
}
.contextmenu > ul > li:hover{
  background-color: rgba(255, 0, 0, 0.5);
}